'use strict';

angular.
    module('result').
    component('result', {
        templateUrl: 'components/result/result.template.html',
        controller: function ResultController($scope,$stateParams) {
            $scope.currentScore = $stateParams.score;
            $scope.userInfo = JSON.parse(localStorage.getItem('userInfo'));
        }
    });